package com.innovation.chengzhangriji.preferences;

import com.innovation.chengzhangriji.http.Token;

public class LoginInfo {

    public static final int EMPTY_BABY_ID = -1;

    private String userID;

    private Token token;

    private String name = "";

    private String phone;

    private int babyID = EMPTY_BABY_ID;

    private int gender;

    private String url = "";

    private boolean hasTipEdit;

    public String getUserID() {
        return userID;
    }

    public void setUserID(String id) {
        this.userID = id;
    }

    public Token getToken() {
        return token;
    }

    public void setToken(Token token) {
        this.token = token;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getBabyID() {
        return babyID;
    }

    public void setBabyID(int currentChildID) {
        this.babyID = currentChildID;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public boolean isHasTipEdit() {
        return hasTipEdit;
    }

    public void setHasTipEdit(boolean hasTipEdit) {
        this.hasTipEdit = hasTipEdit;
    }
}
